\section{Transaction Class Reference}
\label{a00145}\index{BPMVE\_\-XPDL\_\-Library::Transaction@{BPMVE\_\-XPDL\_\-Library::Transaction}}


7.6.12. \doxyref{Transaction}{p.}{a00145} BPMN: If SubProcess is a transaction then this is required A Sub-\/Process activity, whether it is Reusable (implemented by subflow) OR embedded (block activity), can be set as being a \doxyref{Transaction}{p.}{a00145}, which will have a special behavior that is controlled through a transaction protocol (such as BTP OR WSTransaction).  


\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
string {\bf TransactionId}\hspace{0.3cm}{\ttfamily  [get, set]}
\item 
string {\bf TransactionProtocol}\hspace{0.3cm}{\ttfamily  [get, set]}
\item 
TransactionMethodEnum {\bf TransactionMethod}\hspace{0.3cm}{\ttfamily  [get, set]}
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 14 of file Transaction.cs.



\subsection{Property Documentation}
\index{BPMVE\_\-XPDL\_\-Library::Transaction@{BPMVE\_\-XPDL\_\-Library::Transaction}!TransactionId@{TransactionId}}
\index{TransactionId@{TransactionId}!BPMVE_XPDL_Library::Transaction@{BPMVE\_\-XPDL\_\-Library::Transaction}}
\subsubsection[{TransactionId}]{\setlength{\rightskip}{0pt plus 5cm}string TransactionId\hspace{0.3cm}{\ttfamily  [get, set]}}\label{a00145_afd2208ac1a7bc378cd61905dc48d8df6}


The TransactionId attribute provides an identifier for the Transactions used within a package/diagram. 



Definition at line 21 of file Transaction.cs.

\index{BPMVE\_\-XPDL\_\-Library::Transaction@{BPMVE\_\-XPDL\_\-Library::Transaction}!TransactionProtocol@{TransactionProtocol}}
\index{TransactionProtocol@{TransactionProtocol}!BPMVE_XPDL_Library::Transaction@{BPMVE\_\-XPDL\_\-Library::Transaction}}
\subsubsection[{TransactionProtocol}]{\setlength{\rightskip}{0pt plus 5cm}string TransactionProtocol\hspace{0.3cm}{\ttfamily  [get, set]}}\label{a00145_ab2a1f6b4ee5ab0c312cac52e80c0af37}


TransactionMethod is an attribute that defines the technique that will be used To undo a \doxyref{Transaction}{p.}{a00145} that has been Cancelled. The default is Compensate, but the attribute MAY be set To Store OR Image. 



Definition at line 29 of file Transaction.cs.

\index{BPMVE\_\-XPDL\_\-Library::Transaction@{BPMVE\_\-XPDL\_\-Library::Transaction}!TransactionMethod@{TransactionMethod}}
\index{TransactionMethod@{TransactionMethod}!BPMVE_XPDL_Library::Transaction@{BPMVE\_\-XPDL\_\-Library::Transaction}}
\subsubsection[{TransactionMethod}]{\setlength{\rightskip}{0pt plus 5cm}TransactionMethodEnum TransactionMethod\hspace{0.3cm}{\ttfamily  [get, set]}}\label{a00145_aa756b577a7503d697febd1b24c94a463}


This identifies the Protocol (e.g., WS-\/Transaction OR BTP) that will be used To control the transactional behavior of the Sub-\/Process. 



Definition at line 36 of file Transaction.cs.

